/*
 * Copyright 2020 www.mytijian.com All right reserved. This software is the
 * confidential and proprietary information of www.mytijian.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with www.mytijian.com.
 */
package com.mytijian.task.task.listener;

import com.mytijian.task.model.TaskIdentify;
import com.mytijian.task.model.TaskValue;

public interface RuningTaskListener {
    /**
     *
     * @param taskIdentify
     * @param taskValue
     * @return true 更新本地本地缓存， false 不需要更新本地缓存
     */
    boolean newTaskIdentify(TaskIdentify taskIdentify, TaskValue taskValue);

    void removeRemoteTaskIdentify(TaskIdentify taskIdentify);

}
